home *** CD-ROM | disk | FTP | other *** search
- Path: fohnix.metronet.com!not-for-mail
- From: milam@fohnix.metronet.com (Stan Milam)
- Newsgroups: comp.programming,comp.lang.c
- Subject: Re: Indexing for database...
- Followup-To: comp.programming,comp.lang.c
- Date: 3 Apr 1996 20:04:35 -0600
- Organization: Texas Metronet, Inc (login info (214/488-2590 - 817/571-0400))
- Message-ID: <4jvanj$qen@fohnix.metronet.com>
- References: <mikenelDot574.8n9@netcom.com>
- NNTP-Posting-Host: fohnix.metronet.com
- X-Newsreader: TIN [version 1.2 PL2]
-
- Michael Nelson (mikenel@netcom.com) wrote:
- : I am in the process of trying to figure out the best way to do indexing for
- : an on-disk database. Most databases and modern file systems seem to use
- : b-trees to do fast lookups of records or directory entries. However, the
- : biggest problem I forsee is the fact that it is difficult to keep the tree
- : balanced. Strange enough, none of the source code I've perused so far seems to
- : bother with keeping the trees balanced.
-
- : Anyone with more experience (or examples) have any ideas? :-)
-
- : -- Mike
-
- Give MIX software a call. They sell a database toolkit which includes
- a btree library that does balance the trees. Although the product is pointed
- at the DOS/Windows/OS/2 environments, they also sell the C source code. I
- ported the library to UNIX about 5 years ago in about an hour. They used
- to sell it for $20 dollars and $10 for the source code. However, I recently
- saw they have updated the library to allow multiple process to update
- the btrees simultaneously and the price may have gone up - but not much...
-
- You can contact them at 1-800-333-0330.
-